package com.meng.message.domain.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色与部门对应关系
 * </p>
 *
 * @author Xu Meng
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode
public class SysRoleDeptVO implements Serializable {

    private static final long serialVersionUID = -1062732281425678636L;

    @ApiModelProperty("部门主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("角色ID")
    private Integer roleId;

    @ApiModelProperty("部门ID")
    private Integer deptId;

}
